package at.ac.tuwien.infosys.aic11.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "interst_rate")
@XmlAccessorType(XmlAccessType.NONE)
public class InterestRate {

	
	@XmlElement(name="rate", required=true)
	private double rate;
	
	
	

	public InterestRate(){}
	
	public InterestRate(double rate){
		this.rate=rate;
	}
	
	
	public double getRate() {
		return rate;
	}
	public void setRate(double rate) {
		this.rate = rate;
	}
	
	
	
	
	
	
}
